package com.demo.zhlg.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.sql.Blob;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author lenovo
 * @since 2025-04-26
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "users")
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private Integer userId;

    private String phone;

    private String username;

    private String password;

    private String salt;

    private String realname;

    private byte[] avatar;

    private Integer gender;

    private String birthday;

    private String address;

    private String introduction;

    private Integer userType;

    private String registerTime;

    private String lastLoginTime;

    private String loginIp;

    private Integer status;

    private Integer isDeleted;

    private String createTime;

    private String updateTime;

}
